﻿<%@ Page Language="C#" Inherits="E.Web.Teacher.info.UpdateInfo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
  <title>个人信息</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />  
  <link rel="stylesheet" href="/css/main.css" type="text/css" media="all" />
  <link rel="stylesheet" href="/css/t_main.css" type="text/css" media="all" />
  <link rel="stylesheet" href="/css/info.css" type="text/css" media="all" />
  <script type="text/javascript" src="/js/jquery-1.4.2.min.js"></script>
  <script type="text/javascript">
    function ChkForm() {
      var name = $("#NameTxt").val();
      var email = $("#EmailTxt").val();
      if (name == "") {
        alert("请填写完整信息");
        return false;
      } else {
        return true;
      }
    }
  </script>
</head>
<body>
<form id="form1" method="post" action="">
  <div class="m_top"></div>
  <div class="block">
    <div style="width:650px; height:22px;">
      <div class="title">&nbsp;个人信息</div>
    </div>
    <div class="spe_line_1"></div>
    <div style="margin-top:10px; width:650px; display:table;">
      <div class="fl" style="width:100px; line-height:20px; _line-height:23px;">姓名</div>
      <div class="fl"><input type="text" id="NameTxt" name="NameTxt" style="width:150px;" maxlength="50" value="<%=model.Name %>" /></div>
    </div>
    <div style="margin-top:10px; width:650px; display:table;">
      <div class="fl" style="width:100px; line-height:20px; _line-height:23px;">邮件地址</div>
      <div class="fl"><input type="text" id="EmailTxt" name="EmailTxt" style="width:150px;" maxlength="200" value="<%=model.Email %>" /></div>
    </div>
    <div style="margin-top:10px; width:650px; display:table;">
      <div class="fl" style="width:100px; line-height:20px; _line-height:23px;">性别：</div>
      <div class="fl">
        <input type="radio" id="MaleRg" name="GenderRg" value="1" style="width:20px; height:23px;" class="fl" checked="checked" /><span class="fl" style="margin-top:5px;">男</span>
        <input type="radio" id="FemaleRg" name="GenderRg" value="0" style="width:20px; height:23px;" class="fl" /><span class="fl" style="margin-top:5px;">女</span>
      </div>
    </div>
    <div style="margin:10px 0 0 120px;">
      <input type="hidden" id="av" name="av" value="<%=(int)model.Authority %>" />
      <input type="image" src="/images/btn/confirm.gif" style="width:52px; height:22px;" onclick="return ChkForm();" />
    </div>
  </div>
  <script type="text/javascript">
  <% if (model.Gender) { %>
    document.getElementById("MaleRg").checked = true;
      <% } else { %>
    document.getElementById("FemaleRg").checked = true;
  <% } %>
  </script>
</form>
</body>
</html>